import request from '/src/utils/request.js'

export const getCode = () => {
    return request({
        responseType: 'blob',
        url: '/manager/captcha',
        params: {
            key: 'QNda'
        }
    })
}

export const login = (data) => {
    return request({
        url: '/manager/login',
        method: 'post',
        data
    })
}
